export interface Message {
  id: number
  role: 'user' | 'assistant'
  content: string
  created_at: Date
}

export interface Conversation {
  id: number
  title: string
  created_at: Date
  type: 'knowledge' | 'data' | 'image' | 'code'
}

export interface ProcessingTask {
  id: number
  title: string
  description: string
  status: 'pending' | 'processing' | 'completed'
  icon: string
  showDetails: boolean
  active: boolean
  details: {
    title: string
    items: string[]
  }
}

export interface ResultPanel {
  id: number
  title: string
  content: string
  icon: string
  iconBg: string
  step: string
  stepBadge: string
  timestamp: Date
  active: boolean
  visible: boolean
  extraInfo?: string
  extraInfoClass?: string
}

export interface VoiceRecognitionState {
  isRecording: boolean
  recognitionInstance: any | null
}